Unzip the file replication_package.zip to replicate. This will download the scripts and datafiles in the appropriate folders. 

The entire cleaning and estimation routine can be run using 
master_file.do

Before doing so, unzip the data/censo17/CPV2017_POB.dta.7z file. This file was compressed due to file size limits on the dataverse. 

This file will call the files in "clean_covid" to clean the covid death rate information
The files in "clean_endes_files" clean the nationally representative IPV surveys to compare to our surveys. 
The files in "clean_survey" cleans data for our phone survey and generates the IPV variables. 
The files in "create_shift_share" creates the sectoral employment shocks and bartick shocks. 
getting_synth_weights.R creates the synthetic weights. 
prepare_data_for_descriptives.do creates an ancillary file for the descriptive table 

merging_files.do merges all the files together for analysis



pre_trend_figure.do creates the pre-trend figure
create_descriptive_tables.do creates the descriptive tables. 
create_main_tables.do creates the main tables in the paper. 
recall_bias_check.do creates the tables for our recall analysis. 



